package com.clz.hyperit.vo;

import com.clz.hyperit.entity.UserDetail;
public class UserDetailVO {

	
	
	public UserDetailVO(UserDetail ud,int level,String position_name) {
		this.id = ud.getId();
		this.name = ud.getName();
		this.sex = ud.getSex();
		this.city = ud.getCity();
		this.exp = ud.getExp();
		this.total_sign = ud.getTotal_sign();
		this.continous_sign = ud.getContinous_sign();
		this.hb = ud.getHb();
		this.signature = ud.getSignature();
		this.skill = ud.getSkill();
		this.hobby = ud.getHobby();
		this.position_id = ud.getPosition_id();
		this.createtime = ud.getCreatetime();
		this.head = ud.getHead();
		this.user_id = ud.getUser_id();
		this.fans = ud.getFans();
		this.article = ud.getArticle();
		this.accept = ud.getAccept();
		this.note = ud.getNote();
		this.address = ud.getAddress();
		this.signtime = ud.getSigntime();
		this.level = level;
		this.position_name = position_name;
		this.status = ud.getStatus();
	}
	private Integer id; //
	private String name; // 姓名
	private Boolean sex; // 性别
	private String city; // 城市
	private Integer exp; // 经验
	private Integer total_sign; // 总签到天数
	private Integer continous_sign; // 连续签到天数
	private Integer hb; // 论坛货币
	private String signature; // 签名
	private String skill; // 技能
	private String hobby; // 兴趣
	private Integer position_id; // 职业
	private String createtime; // 注册时间
	private String head; // 头像路径
	private Integer user_id; // 外键
	private Integer fans; // 粉丝数量
	private Integer article; // 文章数量
	private Integer accept; // 被采纳的回答的数量
	private Integer note; // 随笔数量
	private String address; // 收货地址
	private String signtime; //签到时间
	private int level;
	private String position_name;
	private int status;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getSex() {
		return sex;
	}
	public void setSex(Boolean sex) {
		this.sex = sex;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Integer getExp() {
		return exp;
	}
	public void setExp(Integer exp) {
		this.exp = exp;
	}
	public Integer getTotal_sign() {
		return total_sign;
	}
	public void setTotal_sign(Integer total_sign) {
		this.total_sign = total_sign;
	}
	public Integer getContinous_sign() {
		return continous_sign;
	}
	public void setContinous_sign(Integer continous_sign) {
		this.continous_sign = continous_sign;
	}
	public Integer getHb() {
		return hb;
	}
	public void setHb(Integer hb) {
		this.hb = hb;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public String getSkill() {
		return skill;
	}
	public void setSkill(String skill) {
		this.skill = skill;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	public Integer getPosition_id() {
		return position_id;
	}
	public void setPosition_id(Integer position_id) {
		this.position_id = position_id;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public Integer getFans() {
		return fans;
	}
	public void setFans(Integer fans) {
		this.fans = fans;
	}
	public Integer getArticle() {
		return article;
	}
	public void setArticle(Integer article) {
		this.article = article;
	}
	public Integer getAccept() {
		return accept;
	}
	public void setAccept(Integer accept) {
		this.accept = accept;
	}
	public Integer getNote() {
		return note;
	}
	public void setNote(Integer note) {
		this.note = note;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getSigntime() {
		return signtime;
	}
	public void setSigntime(String signtime) {
		this.signtime = signtime;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getPosition_name() {
		return position_name;
	}
	public void setPosition_name(String position_name) {
		this.position_name = position_name;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	
}
